#ifndef MYMUSIC_H
#define MYMUSIC_H
#include<QMouseEvent>
#include <QWidget>
#include<QDebug>
#include<QGraphicsDropShadowEffect>



QT_BEGIN_NAMESPACE
namespace Ui { class MyMusic; }
QT_END_NAMESPACE

class MyMusic : public QWidget
{
    Q_OBJECT

public:
    MyMusic(QWidget *parent = nullptr);
    ~MyMusic();
    void initUi();
private slots:
    void on_close_clicked();

protected:

virtual void mouseMoveEvent(QMouseEvent *event);
virtual void mousePressEvent(QMouseEvent *event);

private:
    Ui::MyMusic *ui;
    QPoint dragPosition;
};
#endif // MYMUSIC_H
